package com.yj.suncity.collect.bean;

import org.json.JSONObject;

public class CollectOfferBean {
	private String id;// ": "111",
	private String ent_logo;// ": "",
	private String silver_total;// ": "0",
	private String offer_content;// ": "杀猪给100元",
	private String offer_givenum;// ": "10",
	private String end_datetime;// ": "1397059200",
	private String offer_num;// ": "3",
	private String collection_dateteime;// ": "2015/4/9 0:00:00"

	public CollectOfferBean(JSONObject json) {
		this.id = json.optString("id");
		this.ent_logo = json.optString("ent_logo");
		this.silver_total = json.optString("silver_total");
		this.offer_content = json.optString("offer_content");
		this.offer_givenum = json.optString("offer_givenum");
		this.end_datetime = json.optString("end_datetime");
		this.offer_num = json.optString("offer_num");
		this.collection_dateteime = json.optString("collection_dateteime");
	}

	public String getId() {
		return id;
	}

	public String getEnt_logo() {
		return ent_logo;
	}

	public String getSilver_total() {
		return silver_total;
	}

	public String getOffer_content() {
		return offer_content;
	}

	public String getOffer_givenum() {
		return offer_givenum;
	}

	public String getEnd_datetime() {
		return end_datetime;
	}

	public String getOffer_num() {
		return offer_num;
	}

	public String getCollection_dateteime() {
		return collection_dateteime;
	}

}
